* {
  font-family: "Tahoma", "Microsoft YaHei" !important;
  /* font-family: "Fixedsys ", "Tahoma", "SimSun", monospace !important; */
  /* font-family: monospace !important; */
}

button:not(:disabled) {
  color: black !important;
}

button:disabled {
  color: grey;
}

input,
select,
textarea {
  color: #000;
}

option:selected {
  background-color: navy !important;
  color: #fff !important;
}

input[type="date"],
input[type="time"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-user-select: none;
  appearance: none;
  user-select: none;
  border: none;
  border-radius: 0;
  outline: none;
  background-color: #fff;
  padding: 3px 4px;
  height: 21px;
  width: 100px;
  box-sizing: border-box;
  box-shadow: inset -1px -1px #fff, inset 1px 1px grey, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

input[type="time"] {
  width: 70px;
}

input[type="date"]:focus,
input[type="time"]:focus {
  background-color: navy;
  color: #fff;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  /* background-color: silver; */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");
  height: 17px;
  width: 17px;
  transform: translateX(5px);
}

input[type="date"]::-webkit-calendar-picker-indicator:active,
input[type="time"]::-webkit-calendar-picker-indicator:active {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h16v17H0V0zm1 16h14V1H1v15z' fill='gray'/%3E%3Cpath fill='silver' d='M1 1h14v15H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 7H5v1h1v1h1v1h1v1h1v-1h1V9h1V8h1V7z' fill='%23000'/%3E%3C/svg%3E");
}

select {
  min-width: 100px;
}

.title-bar {
  color: white !important;
  /* font-weight: bold; */
}
.window {
  color: black !important;
}

.inline {
  display: inline-block;
  margin-right: 12px;
  /* min-height: 16px; */
}

.block {
  display: block;
}

.inline:last-child {
  margin-right: 0;
}
*:not(input) {
  user-select: none;
}

.inline-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.inline-container:last-child {
  margin-bottom: 0;
}

.window {
  position: absolute;
  z-index: 1;
  left: 64px;
  top: 48px;
  transform: scale(1.1);
}

.modal-cover {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  /* background-color: rgba(0, 0, 0, 0.15); */
  /* backdrop-filter: blur(1px); */
}

.title-bar-text {
  width: 100%;
}

.title-bar-img {
  padding-left: 2px;
  padding-right: 4px;
  height: 14px;
}

fieldset {
  margin-bottom: 10px;
}

fieldset:last-child {
  margin-bottom: 0;
}
